package cn.edu.guet.mapper.om;

import cn.edu.guet.bean.om.DGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DGroupMapper {
    List <DGroup> viewDGroup(Integer gid);

    DGroup findById(Integer gid);

    void update(DGroup dGroup);

    String getRole(String loginusername);

    Integer getGid(String loginusername);
}
